package org.dding.core.service;

import java.util.List;

import org.dding.core.manager.IModuleManager;
import org.dding.core.util.StandaloneXmlParser;
import org.dding.core.util.StandaloneXmlParser.DataSourceConfig;

public class StandaloneServerConfig implements IServerConfig {

	IModuleManager moduleManager;

	public StandaloneServerConfig(IModuleManager moduleManager) {
		this.moduleManager = moduleManager;
	}

	public IModuleManager getModuleManager() {
		return moduleManager;
	}

	public List<DataSourceConfig> getDataSourceConfig() {
		return StandaloneXmlParser.getDataSourceConfig();
	}
}
